package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastDeliverCost implements Serializable {
    private Integer id;

    private Double charge;

    private Date createtime;

    private Double nocharge;

    private Double timecost1;

    private Double timecost2;

    private Date endtimeday1;

    private Date endtimenight2;

    private Date starttimeday1;

    private Date starttimenight2;

    private BigDecimal charge1;

    private BigDecimal charge2;

    private BigDecimal maxcharge;

    private Double maxdistance;

    private String area;

    private String areaname;

    private String cityid;

    private String cityname;

    private String countyid;

    private String countyname;

    private Integer isdefault;

    private Integer updatehour;

    private Integer agentid;

    private String agentname;

    private Double speed;

    private String distrange;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastDeliverCost withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getCharge() {
        return charge;
    }

    public RunfastDeliverCost withCharge(Double charge) {
        this.setCharge(charge);
        return this;
    }

    public void setCharge(Double charge) {
        this.charge = charge;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastDeliverCost withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Double getNocharge() {
        return nocharge;
    }

    public RunfastDeliverCost withNocharge(Double nocharge) {
        this.setNocharge(nocharge);
        return this;
    }

    public void setNocharge(Double nocharge) {
        this.nocharge = nocharge;
    }

    public Double getTimecost1() {
        return timecost1;
    }

    public RunfastDeliverCost withTimecost1(Double timecost1) {
        this.setTimecost1(timecost1);
        return this;
    }

    public void setTimecost1(Double timecost1) {
        this.timecost1 = timecost1;
    }

    public Double getTimecost2() {
        return timecost2;
    }

    public RunfastDeliverCost withTimecost2(Double timecost2) {
        this.setTimecost2(timecost2);
        return this;
    }

    public void setTimecost2(Double timecost2) {
        this.timecost2 = timecost2;
    }

    public Date getEndtimeday1() {
        return endtimeday1;
    }

    public RunfastDeliverCost withEndtimeday1(Date endtimeday1) {
        this.setEndtimeday1(endtimeday1);
        return this;
    }

    public void setEndtimeday1(Date endtimeday1) {
        this.endtimeday1 = endtimeday1;
    }

    public Date getEndtimenight2() {
        return endtimenight2;
    }

    public RunfastDeliverCost withEndtimenight2(Date endtimenight2) {
        this.setEndtimenight2(endtimenight2);
        return this;
    }

    public void setEndtimenight2(Date endtimenight2) {
        this.endtimenight2 = endtimenight2;
    }

    public Date getStarttimeday1() {
        return starttimeday1;
    }

    public RunfastDeliverCost withStarttimeday1(Date starttimeday1) {
        this.setStarttimeday1(starttimeday1);
        return this;
    }

    public void setStarttimeday1(Date starttimeday1) {
        this.starttimeday1 = starttimeday1;
    }

    public Date getStarttimenight2() {
        return starttimenight2;
    }

    public RunfastDeliverCost withStarttimenight2(Date starttimenight2) {
        this.setStarttimenight2(starttimenight2);
        return this;
    }

    public void setStarttimenight2(Date starttimenight2) {
        this.starttimenight2 = starttimenight2;
    }

    public BigDecimal getCharge1() {
        return charge1;
    }

    public RunfastDeliverCost withCharge1(BigDecimal charge1) {
        this.setCharge1(charge1);
        return this;
    }

    public void setCharge1(BigDecimal charge1) {
        this.charge1 = charge1;
    }

    public BigDecimal getCharge2() {
        return charge2;
    }

    public RunfastDeliverCost withCharge2(BigDecimal charge2) {
        this.setCharge2(charge2);
        return this;
    }

    public void setCharge2(BigDecimal charge2) {
        this.charge2 = charge2;
    }

    public BigDecimal getMaxcharge() {
        return maxcharge;
    }

    public RunfastDeliverCost withMaxcharge(BigDecimal maxcharge) {
        this.setMaxcharge(maxcharge);
        return this;
    }

    public void setMaxcharge(BigDecimal maxcharge) {
        this.maxcharge = maxcharge;
    }

    public Double getMaxdistance() {
        return maxdistance;
    }

    public RunfastDeliverCost withMaxdistance(Double maxdistance) {
        this.setMaxdistance(maxdistance);
        return this;
    }

    public void setMaxdistance(Double maxdistance) {
        this.maxdistance = maxdistance;
    }

    public String getArea() {
        return area;
    }

    public RunfastDeliverCost withArea(String area) {
        this.setArea(area);
        return this;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getAreaname() {
        return areaname;
    }

    public RunfastDeliverCost withAreaname(String areaname) {
        this.setAreaname(areaname);
        return this;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname == null ? null : areaname.trim();
    }

    public String getCityid() {
        return cityid;
    }

    public RunfastDeliverCost withCityid(String cityid) {
        this.setCityid(cityid);
        return this;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid == null ? null : cityid.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public RunfastDeliverCost withCityname(String cityname) {
        this.setCityname(cityname);
        return this;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public String getCountyid() {
        return countyid;
    }

    public RunfastDeliverCost withCountyid(String countyid) {
        this.setCountyid(countyid);
        return this;
    }

    public void setCountyid(String countyid) {
        this.countyid = countyid == null ? null : countyid.trim();
    }

    public String getCountyname() {
        return countyname;
    }

    public RunfastDeliverCost withCountyname(String countyname) {
        this.setCountyname(countyname);
        return this;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname == null ? null : countyname.trim();
    }

    public Integer getIsdefault() {
        return isdefault;
    }

    public RunfastDeliverCost withIsdefault(Integer isdefault) {
        this.setIsdefault(isdefault);
        return this;
    }

    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    public Integer getUpdatehour() {
        return updatehour;
    }

    public RunfastDeliverCost withUpdatehour(Integer updatehour) {
        this.setUpdatehour(updatehour);
        return this;
    }

    public void setUpdatehour(Integer updatehour) {
        this.updatehour = updatehour;
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastDeliverCost withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastDeliverCost withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public Double getSpeed() {
        return speed;
    }

    public RunfastDeliverCost withSpeed(Double speed) {
        this.setSpeed(speed);
        return this;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public String getDistrange() {
        return distrange;
    }

    public RunfastDeliverCost withDistrange(String distrange) {
        this.setDistrange(distrange);
        return this;
    }

    public void setDistrange(String distrange) {
        this.distrange = distrange == null ? null : distrange.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", charge=").append(charge);
        sb.append(", createtime=").append(createtime);
        sb.append(", nocharge=").append(nocharge);
        sb.append(", timecost1=").append(timecost1);
        sb.append(", timecost2=").append(timecost2);
        sb.append(", endtimeday1=").append(endtimeday1);
        sb.append(", endtimenight2=").append(endtimenight2);
        sb.append(", starttimeday1=").append(starttimeday1);
        sb.append(", starttimenight2=").append(starttimenight2);
        sb.append(", charge1=").append(charge1);
        sb.append(", charge2=").append(charge2);
        sb.append(", maxcharge=").append(maxcharge);
        sb.append(", maxdistance=").append(maxdistance);
        sb.append(", area=").append(area);
        sb.append(", areaname=").append(areaname);
        sb.append(", cityid=").append(cityid);
        sb.append(", cityname=").append(cityname);
        sb.append(", countyid=").append(countyid);
        sb.append(", countyname=").append(countyname);
        sb.append(", isdefault=").append(isdefault);
        sb.append(", updatehour=").append(updatehour);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", speed=").append(speed);
        sb.append(", distrange=").append(distrange);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}